<template>
<div class='voice-recognize'>
    <div class="cml-module-item">
      <p class="cml-module-item-t">{{ $t('cmlpanel.recognition_currentAPI') }}</p>
      <span class="cml-module-item-o ">
         <a-select size="small"
        :disabled="false"
        :value="iatType"
        :options="types"
        style="width: 70px"
        @change="iatTypeChange">
      </a-select>
      </span>
    </div>
</div>
</template>

<script>
import * as anov from 'anov-core'
import { Select} from 'ant-design-vue'
export default {
components: {
	ASelect:Select
},
data() {
return {
  types: [{label:'默认',value: 'default'},{label:'智灵',value: 'xf'}]
};
},
created() {},
mounted() {},
computed: {
	...anov.voiceRecognizeServer.mapState(['isStart','iatType']),
},
watch: {},
methods: {
	iatTypeChange(v) {
		anov.voiceRecognizeServer.changeServer(v)
	}
},
}
</script>
<style lang='scss' scoped>
	.voice-recognize {
		padding: 10px;
	}
</style>